import {
  getUrl,
  postUrl,
  deleteUrl
} from '../../utils/https'

// 获取教室名

export const getClassRoom = (data) => {
  return getUrl('/manger/room')
}
// 添加教室名
export const addClassRoom = (data) => {
  const msg = {
    room_text: data
  }
  return postUrl('/manger/room', msg)
}
// 删除教室名
export const delClassRoom = (data) => {
  return deleteUrl('/manger/room/delete', data)
}
